<%@ page import="ceramicasoledade.Cliente" %>



<div class="fieldcontain ${hasErrors(bean: clienteInstance, field: 'nome', 'error')} required">
	<label for="nome">
		<g:message code="cliente.nome.label" default="Nome" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="nome" required="" value="${clienteInstance?.nome}"/>
</div>



<div class="fieldcontain ${hasErrors(bean: clienteInstance, field: 'bairro', 'error')} ">
	<label for="bairro">
		<g:message code="cliente.bairro.label" default="Bairro" />
		
	</label>
	<g:textField name="bairro" value="${clienteInstance?.bairro}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: clienteInstance, field: 'cidade', 'error')} ">
	<label for="cidade">
		<g:message code="cliente.cidade.label" default="Cidade" />
		
	</label>
	<g:textField name="cidade" value="${clienteInstance?.cidade}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: clienteInstance, field: 'cpfCnpj', 'error')} ">
	<label for="cpfCnpj">
		<g:message code="cliente.cpfCnpj.label" default="Cpf Cnpj" />
		
	</label>
	<g:textField name="cpfCnpj" value="${clienteInstance?.cpfCnpj}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: clienteInstance, field: 'estado', 'error')} ">
	<label for="estado">
		<g:message code="cliente.estado.label" default="Estado" />
		
	</label>
	<g:textField name="estado" value="${clienteInstance?.estado}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: clienteInstance, field: 'numero', 'error')} required">
	<label for="numero">
		<g:message code="cliente.numero.label" default="Numero" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="numero" required="" value="${fieldValue(bean: clienteInstance, field: 'numero')}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: clienteInstance, field: 'rgInscEst', 'error')} ">
	<label for="rgInscEst">
		<g:message code="cliente.rgInscEst.label" default="Rg Insc Est" />
		
	</label>
	<g:textField name="rgInscEst" value="${clienteInstance?.rgInscEst}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: clienteInstance, field: 'rua', 'error')} ">
	<label for="rua">
		<g:message code="cliente.rua.label" default="Rua" />
		
	</label>
	<g:textField name="rua" value="${clienteInstance?.rua}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: clienteInstance, field: 'telefone', 'error')} ">
	<label for="telefone">
		<g:message code="cliente.telefone.label" default="Telefone" />
		
	</label>
	<g:textField name="telefone" value="${clienteInstance?.telefone}"/>
</div>

